fullTextSearch

abstract fun fullTextSearch(query: String): List<Message>

Full-text search messages by text.

Words in the query are converted to tokens by a tokenizer using the following rules:

  • Tokens can only consist of characters from ASCII and the Latin-1 supplement (western languages). All other characters are considered whitespace.

  • Words split by a hyphen (-) are split into two tokens. For example, full-text splits into full and text.

  • Tokens are diacritics- and case-insensitive.

You can search for an entire word or phrase, or limit your results with the following characters:

  • Exclude results for a word by placing the - character in front of the word. For example, fiction -science would include all search results for fiction and exclude those that include the word science.

  • You can specify prefixes by placing the * character at the end of a word. For example, fict* would include all search results for fiction and fictitious. (The SDK does not currently support suffix searches.)

Return

List of Message

Parameters

query

Query string